/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package imp.ejemplos;

import javax.faces.event.ActionEvent;

/**
 *
 * @author Angelical
 */
public class EchoBean {

    public EchoBean(){
    }

    private String name;
    private int count;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void contadorListener(ActionEvent event){
        count=name.length();
    }


}
